package com.eva.admin.biz.cms.category.vo;

import com.eva.service.cms.vo.BaseCmsCategoryNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("栏目节点视图")
public class CmsCategoryNodeVO extends BaseCmsCategoryNode {

    @ApiModelProperty(value="权限ID")
    private Integer permissionId;

    @ApiModelProperty(value="权限码")
    private String permission;

    @ApiModelProperty(value="访问地址")
    private String uri;

    @ApiModelProperty(value="排序")
    private Integer sort;

    @ApiModelProperty(value="模板ID")
    private Integer templateId;

    @ApiModelProperty(value="模板参数")
    private String templateParameters;

    @ApiModelProperty(value="是否隐藏")
    private Boolean hidden;

    @ApiModelProperty(value="栏目配置")
    private String config;

    @ApiModelProperty(value="创建人ID")
    private Integer creatorId;

    @ApiModelProperty(value="创建人姓名")
    private String creatorRealName;

    @ApiModelProperty(value="创建时间")
    private Date createdAt;

    @ApiModelProperty(value="更新人ID")
    private Integer updaterId;

    @ApiModelProperty(value="更新人姓名")
    private String updaterRealName;

    @ApiModelProperty(value="更新时间")
    private Date updatedAt;
}
